package com.czxy.blogs.domain;

import java.util.Date;

import javax.persistence.Id;

public class Comment {
	@Id
    private String cid;

    private String comment_abstract;

    private Date createTime;

    private String aid; //外键
    private Article article;//外键对象

    private String uid; //外键
    private  User user;  //外键对象

    private String content;

    
	public Article getArticle() {
		return article;
	}

	public void setArticle(Article article) {
		this.article = article;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getComment_abstract() {
		return comment_abstract;
	}

	public void setComment_abstract(String comment_abstract) {
		this.comment_abstract = comment_abstract;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getAid() {
		return aid;
	}

	public void setAid(String aid) {
		this.aid = aid;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Comment() {
		super();
		// TODO Auto-generated constructor stub
	}

    
}